﻿package mortal.game.net.command.vip
{
    import Framework.MQ.*;
    import Message.Public.*;
    import mortal.game.cache.*;
    import mortal.game.manager.*;
    import mortal.game.mvc.*;
    import mortal.game.net.broadCast.*;
    import mortal.mvc.core.*;

    public class WingGetCommmand extends BroadCastCall
    {

        public function WingGetCommmand(param1:Object)
        {
            super(param1);
            return;
        }// end function

        override public function call(param1:MessageBlock) : void
        {
            var _loc_2:* = param1.messageBase as SPublicDateTime;
            var _loc_3:* = ClockManager.instance.nowDate;
            if (_loc_2)
            {
                Cache.instance.vip.wing288GetTime = _loc_2.publicDateTime;
            }
            else
            {
                Cache.instance.vip.isCanGetWin = true;
            }
            NetDispatcher.dispatchCmd(ServerCommand.FirstRechargeWingGet, null);
            return;
        }// end function

    }
}
